package rmi;

import java.rmi.* ; 
import java.util.ArrayList;

import client.Client;

public interface RmiInterface extends Remote{
	
	public String getPro() throws RemoteException;
	 
	public int enregistreClient(Client cl) throws RemoteException;
	 
	 public ArrayList<Message> recvMsg() throws RemoteException;
	 
	 public void recvLog(int[] list,Message msg) throws RemoteException;
	 
	 public void envMsg(Message msg,int flag) throws RemoteException;
	 
	 //public void envMsg(Message msg) throws RemoteException;
}
